package al.softsynergy.auk.ui;

import com.vaadin.event.LayoutEvents.LayoutClickListener;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;

public class MenuItem extends VerticalLayout{

	public MenuItem(String caption, MainWindow mainWindow){
		this.addComponent(new Label(caption, Label.CONTENT_RAW));
		this.setSizeUndefined();
		this.setHeight("30px");
		this.addListener((LayoutClickListener)mainWindow);
	}
	
	
}
